<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入bootstrap -->
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
    <script src="http://libs.baidu.com/jquery/1.9.0/jquery.min.js"></script>
    <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>

    <script src="js/echarts.min.js"></script>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            list-style: none;
        }

        .header {
            width: 100%;
            height: 68px;
            padding-left: 250px;
            padding-top: 13px;
            padding-right: 20px;
            box-shadow: 2px 2px 10px 2px rgb(0 0 0 / 50%);
            position: fixed;
            left: 0;
            top: 0;
            z-index: 1000;
            background-color: white;
        }

        .header .left {
            float: left;
        }

        .header .center {
            float: right;
            width: 276px;
            height: 35px;
            background-color: #EEF1F5;
            border-radius: 30px;
            margin-right: 100px;
            display: block;
        }

        .header .center input {
            width: 100%;
            height: 35px;
            float: left;
            border: 0;
            border-radius: 30px;
            background-color: #EEF1F5;
            outline: none;
            padding: 0 10px;
            position: relative;
            top: 0;
            left: 0;
        }

        .header .right {
            float: right;
        }

        .header .left img {
            width: 30px;
            height: 30px;
            cursor: pointer;
        }

        .header .right img {
            width: 30px;
            height: 30px;
        }

        .slider {
            width: 220px;
            height: 100%;
            position: fixed;
            left: 0;
            top: 0;
            box-shadow: 2px 2px 10px 2px rgb(0 0 0 / 50%);
            transition: transform 0.4s;
            z-index: 1100;
        }

        .slider .title {
            color: white;
            text-align: center;
            padding: 15px 0;
            background-color: #438AFE;
        }

        .slider .title h2 {
            font-size: 26px;
            font-weight: 400;
        }

        .slider .image {
            width: 220px;
            height: 130px;
        }

        .slider .image img {
            width: 220px;
            height: 130px;
        }

        .slider .menu {
            width: 100%;
            height: 420px;
            color: #000;
            font-size: 20px;
            padding-left: 20px;
            padding-top: 20px;
        }

        .slider .menu ul li{
            height: 50px;
            padding: 5px 0;
        }

        .slider .menu ul li span{
            margin-left: 5px;
            position: relative;
            top: 3px;
            cursor: pointer;
        }

        .slider .menu ul li img {
            width: 30px;
            height: 30px;
            line-height: 45px;
        }

        .main{
            width: 100%;
            height: 100%;
            padding-left: 240px;
            padding-top: 88px;
            z-index: 900;
        }

        @media screen and (max-width:1024px){
            .slider{
                transform: translate(-220px);
            }

            .header{
                padding-left: 15px;
            }

            .main{
                padding-left: 15px;
            }
        }

        @media screen and (max-width:506px){
            .header .center{
                display: none;
            }
        }

        .chart1 .title {
            padding: 20px 30px;
            box-sizing: border-box;
        }
        
        .chart1 .title span {
            font-size: 22px;
        }
        
        .chart1 .title .type {
            height: 30px;
            padding: 0 20px;
            border-radius: 20px;
            background: #EEF1F5;
            float: right;
            text-align: center;
            line-height: 30px;
        }
        
        .chart1 .type b {
            margin: 0 10px;
        }
        
        .data-charts .card {
            height: 365px;
            background-color: #fff;
            margin-bottom: 20px;
        }

        label {
            color: #337ab7;
            padding-left: 20px;
        }
        
        .form-control {
            border: none;
            outline: none;
            background-color: #EEF1F5;
            margin-right: 70px;
            width: 300px !important;
        }
        
        .data-table .card {
            padding: 15px;
        }
        
        .form-inline {
            padding: 0 30px;
        }
        
        .radio label {
            padding: 0 40px;
        }
        
        .form-inline input {
            width: 230px!important;
            margin-right: 20px!important;
        }
        
        .form-inline .btn {
            /* float: right; */
            margin-left: 50px;
        }
        
        .tablebox {
            padding: 20px 15px;
        }
        
        #exampleInputName2 {
            padding-left: 0px;
        }
        
        .tablebox thead {
            background-color: #EEF1F5;
            border-radius: 5px;
        }
        
        .page {
            text-align: center;
            margin-top: -20px;
        }
        
        tbody tr td img {
            width: 150px;
            height: 105px;
        }
        /* 数据统计部分 */
        
        .carttxt h3 {
            color: #FFA53B;
        }
        
        .carttxt {
            position: relative;
            border-top: 15px solid #FFE5C7;
            margin-bottom: 20px;
        }
        
        .carttxt img {
            position: absolute;
            right: 18px;
            top: 35px;
        }
        
        .data-table .col-xs-2 .carttxt:nth-child(3) {
            border-color: #C7DCFF;
        }
        
        .data-table .col-xs-2 .carttxt:nth-child(4) {
            border-color: #EAE4FF;
        }
        
        .data-table .col-xs-2 .carttxt:nth-child(3) h3 {
            color: #C7DCFF;
        }
        
        .data-table .col-xs-2 .carttxt:nth-child(4) h3 {
            color: #EAE4FF;
        }

    </style>
</head>

<body>
    <div class="header">
        <div class="left">
            <img src="images/menu.png" alt="">
        </div>
        <div class="right">
            <img src="images/icon.png" alt="">
            <img src="images/close.png" alt="">
        </div>
        <div class="center">
            <input type="text" placeholder="搜索">
        </div>
    </div>
    <div class="slider">
        <div class="title">
            <h2>凤凰教育</h2>
        </div>
        <div class="image">
            <img src="images/avatar.png" alt="">
        </div>
        <div class="menu">
            <ul>
                <li>
                    <img src="images/icon1.png" alt="">
                    <span>数据中心</span>
                </li>
                <li>
                    <img src="images/icon2.png" alt="">
                    <span>学员管理</span>
                </li>
                <li>
                    <img src="images/icon3.png" alt="">
                    <span>教师管理</span>
                </li>
                <li>
                    <img src="images/icon4.png" alt="">
                    <span>课程管理</span>
                </li>
                <li>
                    <img src="images/icon5.png" alt="">
                    <span>订单管理</span>
                </li>
                <li>
                    <img src="images/icon6.png" alt="">
                    <span>财务管理</span>
                </li>
                <li>
                    <img src="images/icon7.png" alt="">
                    <span>客服管理</span>
                </li>
                <li>
                    <img src="images/icon8.png" alt="">
                    <span>系统设置</span>
                </li>
            </ul>
        </div>
    </div>
    <div class="main">
        <div class="container-fluid">
            <!-- 图标上部分 -->
            <div class="row data-charts">
                <div class="col-lg-12 col-xs-12">
                    <div class="card chart1">
                        <div class="title">
                            <span>笔记数量</span>
                            <div class="type">
                                <b>今日状况</b>
                                <b>最近15天</b>
                                <b>最近30天</b>
                            </div>
                        </div>
                        <!-- 曲线图容器 -->
                        <div id="chartPosition" style="width: 100%;height:360px; margin-top: -50px;"></div>
                    </div>
                </div>
            </div>

            <!-- 表单开始 -->
            <div class="row data-table">
                <div class="col-xs-10">
                    <div class="card">
                        <div class="searchBox">
                            <form class="form-inline">
                                <div class="form-group">
                                    <label for="exampleInputName2" id="exampleInputName2">笔记分类</label>
                                    <input type="text" class="form-control" placeholder="小学/初中/高中/职业">
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputEmail2">快速搜索</label>
                                    <input type="email" class="form-control" placeholder="笔记名称/关键词/上传人">
                                </div>

                                <button type="submit" class="btn btn-primary">查询</button>
                            </form>
                        </div>

                        <!-- 表格部分 -->
                        <div class="tablebox">
                            <table class="table table-hover">
                                <thead>
                                    <tr>
                                        <th>笔记</th>
                                        <th>笔记名称</th>
                                        <th>上传人</th>
                                        <th>类型</th>
                                        <th>上传时间</th>
                                        <th>通过审核</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <td>
                                            <img src="./images/tableimg2.png" alt="">
                                        </td>
                                        <td>
                                            <p>教师招聘</p>
                                            <span>教育教学-学生与老师</span>
                                        </td>
                                        <td>离生一梦</td>
                                        <td>职业教育</td>
                                        <td>2020-7-14 08:30</td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <img src="./images/tableimg3.png" alt="">
                                        </td>
                                        <td>
                                            <p>初中物理</p>
                                            <span>量电装置和配电装置</span>
                                        </td>
                                        <td>王开树</td>
                                        <td>初中教育</td>
                                        <td>2020-6-18 10:24</td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <img src="./images/tableimg4.png" alt="">
                                        </td>
                                        <td>
                                            <p>初中物理</p>
                                            <span>原子结构和元素性质</span>
                                        </td>
                                        <td>云中廷</td>
                                        <td>初中教育</td>
                                        <td>2020-6-17 09:00</td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <img src="./images/tableimg5.png" alt="">
                                        </td>
                                        <td>
                                            <p>高中语文</p>
                                            <span>现代文-阅读理解</span>
                                        </td>
                                        <td>乘风破浪</td>
                                        <td>高中教育</td>
                                        <td>2020-6-10 11:00</td>
                                        <td></td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>

                        
                        <div class="page">
                            <nav aria-label="Page navigation">
                                <ul class="pagination">
                                    <li>
                                        <a href="#" aria-label="Previous">
                                            <span aria-hidden="true">&laquo;</span>
                                        </a>
                                    </li>
                                    <li><a href="#">1</a></li>
                                    <li><a href="#">2</a></li>
                                    <li><a href="#">3</a></li>
                                    <li><a href="#">4</a></li>
                                    <li><a href="#">5</a></li>
                                    <li>
                                        <a href="#" aria-label="Next">
                                            <span aria-hidden="true">&raquo;</span>
                                        </a>
                                    </li>
                                </ul>
                        </div>
                    </div>
                </div>
                <div class="col-xs-2">
                    <div class="card carttxt">
                        <h3>43938</h3>
                        <p>待审核（个）</p>
                        <img src="./images/usericon1.png" alt="">
                    </div>
                    <div class="card carttxt">
                        <h3>124</h3>
                        <p>未通过（个）</p>
                        <img src="./images/usericon2.png" alt="">
                    </div>
                    <div class="card carttxt">
                        <h3>6435773</h3>
                        <p>总共（个）</p>
                        <img src="./images/usericon3.png" alt="">
                    </div>
                    <div class="card carttxt">
                        <h3>65453</h3>
                        <p>分享数（个）</p>
                        <img src="./images/usericon4.png" alt="">
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>

<script>
    var userChart = echarts.init(document.getElementById('chartPosition'));
    let userOption = {
        xAxis: {
            type: 'category',
            data: ['2020-1-19', '2020-1-20', '2020-1-21', '2020-1-22', '2020-1-23', '2020-1-24', '2020-1-25']
        },
        yAxis: {
            type: 'value'
        },
        series: [{
            itemStyle: {
                normal: {
                    color: '#FFC254',
                    lineStyle: {
                        color: '#FFC254'
                    }
                }
            },
            data: [820, 932, 901, 934, 1290, 1330, 1320],
            type: 'line',
            smooth: true
        }, {
            itemStyle: {
                normal: {
                    color: '#6AB8FF',
                    lineStyle: {
                        color: '#6AB8FF'
                    }
                }
            },
            data: [120, 632, 401, 734, 1090, 930, 720],
            type: 'line',
            smooth: true
        }]
    };

    userChart.setOption(userOption);
</script>

</html>